package com.ctshk.rpc.iotc.dto;

import com.ctshk.common.model.PageResponse;
import com.ctshk.rpc.iotc.req.OperateJson;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@Data
@ApiModel(value="OperatePromotionQueryDTO对象", description="菜单页面按钮")
public class OperatePromotionQueryDTO implements Serializable {

    private static final long serialVersionUID = 5711738455134939117L;
    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "活动ID")
    private String activityCode;

    @ApiModelProperty(value = "出资部门ID")
    private Long departmentId;

    @ApiModelProperty(value = "部门名称")
    private String departmentName;

    @ApiModelProperty(value = "活动总金额")
    private BigDecimal totalAmount;

    @ApiModelProperty(value = "活动名称")
    private String name;

    @ApiModelProperty(value = "活动有效期起始")
    private LocalDateTime activityBegin;

    @ApiModelProperty(value = "活动有效期截至")
    private LocalDateTime activityEnd;

    @ApiModelProperty(value = "活动周期")
    private Integer activityCycle;

    @ApiModelProperty(value = "活动周期星期数据")
    private String activityCycleWeeks;

    @ApiModelProperty(value = "满足X金额")
    private BigDecimal fullAmount;

    @ApiModelProperty(value = "减X金额")
    private BigDecimal reductionAmount;

    @ApiModelProperty(value = "优惠总名额")
    private Integer totalDiscountQuota;

    @ApiModelProperty(value = "优惠说明")
    private String discountExplain;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "业务类型")
    private Integer businessType;

    @ApiModelProperty(value = "关联产品ID")
    private List<Long> idList;

    @ApiModelProperty(value = "产品列表")
    List<Object> airTicketPage;

    @ApiModelProperty(value = "适用渠道")
    private List<OperateJson> channelsJson;

    @ApiModelProperty(value = "适用部门")
    private List<OperateJson> departmentsJson;

    @ApiModelProperty(value = "优惠对象")
    private List<OperateJson> discountObjectsJson;

    @ApiModelProperty(value = "推广码状态(0 已撤回 1 未提交 2 审批中 3 审批不通过 4 有效 5暂停  6无效)")
    private Integer status;
}
